package framework.apache.common.beanutils;
import java.lang.reflect.InvocationTargetException;

import org.apache.commons.beanutils.BeanUtils;

import framework.apache.common.beanutils.pojo.C1;
import framework.apache.common.beanutils.pojo.C2;
public class BooleanUtilsDemo {
	public static void main(String[] args) throws Exception, InvocationTargetException {
		C1 p1 = new C1();
		p1.setD1("1a");
		C2 p2 = new C2();
		BeanUtils.copyProperties(p2, p1);
		System.out.println(p2);
	}
}
